﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Pathfinding;
using Yoozoo.Gta.Common;
using System;

namespace Yoozoo.Gameplay.City.AI
{
    public class CityAmbientNPCAIPath : AIPath
    {
        public Action onReached;
        public Action onChanged;
        public override void OnTargetReached()
        {
            base.OnTargetReached();
            onReached?.Invoke();
        }

        public override void OnPositonChanged()
        {
            base.OnPositonChanged();
            onChanged?.Invoke();
        }
    }
}

